package com.platform.usercenter.service;

import java.util.List;

/**
 * @Description: 构建树结构方法
 * @Author: cl
 * @Date: 2024-11-05 10:39
 **/
public interface TreeAdapter {


    /**
     * 父部门id
     */
    Long getTreeCurrentId();

    Long getTreeParentId();

    <T> void setTreeChildren(List<TreeAdapter> list, Class<T> clazz);

}
